import React from "react";
import { BrowserRouter } from "react-router-dom";
import { renderRoutes } from "react-router-config";
import routers from "./routers";
import "./styles/common.css";

const App = () => (
  <BrowserRouter basename="/">{renderRoutes(routers)}</BrowserRouter>
);

export default App;
